package com.seanchenxi.gwt.wordpress.xmlrpc.service.model.handler;

import java.util.HashMap;

import com.seanchenxi.gwt.wordpress.domain.model.Post;
import com.seanchenxi.gwt.wordpress.xmlrpc.service.model.impl.PostImpl;
import com.seanchenxi.gwt.xmlrpc.client.impl.BaseResponseHandler;

public class PostResponseHandler extends BaseResponseHandler<Post> {
	@SuppressWarnings("unchecked")
	@Override
	public Post handleResponse(String response) {
		return new PostImpl((HashMap<String, Object>) super.handleResponse(response));
	}
}
